package cn.exrick.xboot.modules.transport.service;

import cn.exrick.xboot.modules.transport.param.DepositAmountParam;
import cn.exrick.xboot.modules.transport.param.QueryCompanyWarehousesParam;
import cn.exrick.xboot.modules.transport.param.WarehousesContactParam;
import cn.exrick.xboot.modules.transport.vo.CompanyWarehousesVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.exrick.xboot.modules.transport.entity.CompanyWarehouses;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 物流公司仓点信息接口
 * @author gj
 */
public interface CompanyWarehousesService extends IService<CompanyWarehouses> {

    CompanyWarehousesVo getWarehousesById(Long id);

    boolean setContact(WarehousesContactParam param);

    void removearehousesById(Long id);


    IPage<CompanyWarehousesVo> getWarehousesByCondition(Page page, QueryCompanyWarehousesParam param);

    CompanyWarehousesVo depositRecharge(DepositAmountParam param);
}